From: Florian Müllner Date: Sat, 11 Jul 2020 21:08:42 +0000 (+0200) Subject: workspace: Always set state at the end of overview transition X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~135 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=82be010fd80dec7c0bce25ad41321e1601533c71;p=gnome-shell.git workspace: Always set state at the end of overview transition We don't change to the zoomed out state when fading to the overview, however we should do that after the transition in case the user switches to the window picker. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2969 --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 164084a88..d7e179b1d 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -1194,11 +1194,13 @@ class Workspace extends St.Widget { _doneLeavingOverview() { this.layout_manager.layout_frozen = false; + this.layout_manager.stateAdjustment.value = 0; this._windows.forEach(w => (w.opacity = 255)); } _doneShowingOverview() { this.layout_manager.layout_frozen = false; + this.layout_manager.stateAdjustment.value = 1; this._windows.forEach(w => (w.opacity = 255)); }